<template>
  <el-container style="height: 100%">
    <el-header style="text-align: center">Header</el-header>
    <el-container style="height:calc(100vh - 60px)">
      <el-aside width="200px">
        <el-menu
          router
          :default-openeds="['1', '3']"
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
        >
          <el-sub-menu index="1">
            <template #title><i class="el-icon-message"></i>报表管理</template>
            <el-menu-item-group>
              <el-menu-item index="about">about</el-menu-item>
              <el-menu-item index="home">home</el-menu-item>
              <el-menu-item index="reportList">报表列表</el-menu-item>
              <el-menu-item index="dragReport">编辑报表</el-menu-item>
                <el-menu-item index="previewReport">展示报表</el-menu-item>
            </el-menu-item-group>
          </el-sub-menu>
        </el-menu>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script setup>

</script>

<style>
#app {
  height: 100vh;
}
</style>
